package com.enterprise.projectManager.service;

import com.enterprise.projectManager.model.Problem;

import java.util.List;

public interface ProblemService {

    Problem createProb(Problem problem);

    Boolean deleteProb(String id2);

    Problem updateProb(Problem problem);
    List<Problem> searchProbByProjectName(String projectName);
    List<Problem> searchProbByProblemState(String problemState);
    Problem searchProbBySendCompany(String sendCompany);
    List<Problem> listProb(int limitprob);

    List<Problem> listAll();
}
